.class public final Lnbisdk/ia$a;
.super Ljava/util/TimerTask;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lnbisdk/ia;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x1
    name = "a"
.end annotation


# instance fields
.field private synthetic l:Lnbisdk/ia;


# direct methods
.method public constructor <init>(Lnbisdk/ia;)V
    .locals 0

    iput-object p1, p0, Lnbisdk/ia$a;->l:Lnbisdk/ia;

    invoke-direct {p0}, Ljava/util/TimerTask;-><init>()V

    return-void
.end method


# virtual methods
.method public final run()V
    .locals 3

    iget-object v0, p0, Lnbisdk/ia$a;->l:Lnbisdk/ia;

    invoke-virtual {v0}, Lnbisdk/ia;->ju()V

    invoke-static {}, Lnbisdk/gi;->fk()Lnbisdk/gi;

    move-result-object v0

    iget-object v1, p0, Lnbisdk/ia$a;->l:Lnbisdk/ia;

    iget-object v1, v1, Lnbisdk/ia;->sp:Lcom/nbi/location/Location;

    if-nez v1, :cond_2

    iget-object v1, p0, Lnbisdk/ia$a;->l:Lnbisdk/ia;

    const/4 v2, 0x1

    iput-boolean v2, v1, Lnbisdk/ia;->su:Z

    if-eqz v0, :cond_0

    iget-object v1, p0, Lnbisdk/ia$a;->l:Lnbisdk/ia;

    iget-object v1, v1, Lnbisdk/ia;->sz:Ljava/lang/Runnable;

    invoke-virtual {v0, v1}, Lnbisdk/gi;->a(Ljava/lang/Runnable;)V

    :cond_0
    :goto_0
    iget-object v0, p0, Lnbisdk/ia$a;->l:Lnbisdk/ia;

    iget-boolean v0, v0, Lnbisdk/ia;->sr:Z

    if-nez v0, :cond_1

    invoke-virtual {p0}, Lnbisdk/ia$a;->cancel()Z

    :cond_1
    return-void

    :cond_2
    if-eqz v0, :cond_0

    iget-object v1, p0, Lnbisdk/ia$a;->l:Lnbisdk/ia;

    iget-object v1, v1, Lnbisdk/ia;->sy:Ljava/lang/Runnable;

    invoke-virtual {v0, v1}, Lnbisdk/gi;->a(Ljava/lang/Runnable;)V

    goto :goto_0
.end method
